package start.spring.basic.dao;

import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import start.spring.basic.entity.WorkerNode;

/**
 * 分布式id生成器工作节点表 Mapper 接口
 *
 * @author xyy
 * @since 2021-04-12
 */
@Repository
public interface WorkerNodeMapper extends BaseMapper<WorkerNode> {
	
	/**
     * Add {@link WorkerNodeEntity}
     * 
     * @param workerNode
     */
    void addWorkerNode(WorkerNode workerNode);

}
